import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { Button, Tabbar, Icon, Cell, Divider, DropdownItem, DropdownMenu, Popup, Search, Cascader, Picker, Area, AddressEdit, IndexBar, IndexAnchor, Uploader, TabbarItem, Loading, Form, Field, Toast, Dialog, NavBar, Swipe, SwipeItem, Grid, GridItem, Overlay } from 'vant'
Vue.use(Dialog)
Vue.use(Overlay)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Form)
Vue.use(Field)
Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Toast)
Vue.use(NavBar)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Loading)
Vue.use(Uploader)
Vue.use(Cascader)
Vue.use(Picker)
Vue.use(Popup)
Vue.use(Cell)
Vue.use(Divider)
Vue.use(AddressEdit)
Vue.use(Search)
Vue.use(Icon)
Vue.use(Area)
// 城市列表
Vue.use(IndexBar)
Vue.use(IndexAnchor)
// 筛选列表
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
